﻿using System;

namespace Map
{
    [Flags]
    public enum AutoTileCorners
    {
        UpLeft = 0x1,
        UpRight = 0x2,
        DownLeft = 0x4,
        DownRight = 0x8
    }

    public class AutoTileData
    {
        public TileStruct[] Tiles = new TileStruct[0x10];

        public TileStruct this[int pos]
        {
            get { return Tiles[pos]; }
        }
    }

    public class AutoTileStruct : TileStruct
    {
        public AutoTileData AutoData;
        public AutoTileCorners Corners;
    }
}